package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备信息对象 zl_equipment_failurs_info
 * 
 * @author ruoyi
 * @date 2024-11-19
 */
public class ZlEquipmentFailursInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String type;

    /** 故障设备 */
    @Excel(name = "故障设备")
    private String equipmentNum;

    /** 故障 */
    @Excel(name = "故障")
    private String failure;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dateTime;

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setEquipmentNum(String equipmentNum) 
    {
        this.equipmentNum = equipmentNum;
    }

    public String getEquipmentNum() 
    {
        return equipmentNum;
    }
    public void setFailure(String failure) 
    {
        this.failure = failure;
    }

    public String getFailure() 
    {
        return failure;
    }
    public void setDateTime(Date dateTime) 
    {
        this.dateTime = dateTime;
    }

    public Date getDateTime() 
    {
        return dateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("type", getType())
            .append("equipmentNum", getEquipmentNum())
            .append("failure", getFailure())
            .append("dateTime", getDateTime())
            .toString();
    }
}
